using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Linq.Expressions;


public class Adherent
{
    [Column(Name = "idAdherent", IsPrimaryKey = true,DbType="int NOT NULL IDENTITY",IsDbGenerated=true)]
    public int id { get; set; }

    [Column(Name = "nomAdherent")]
    public String nom { get; set; }

    [Column(Name = "prenomAdherent")]
    public String prenom { get; set; }

    [Column(Name = "adresseAdherent")]
    public String adresse { get; set; }

    [Column(Name = "cpAdherent")]
    public String cp { get; set; }

    [Column(Name = "villeAdherent")]
    public String ville { get; set; }

    [Column(Name = "telAdherent")]
    public String tel { get; set; }

    [Column(Name = "mailAdherent")]
    public String mail { get; set; }

    [Column(Name = "dateNaissAdherent")]
    public DateTime dateNaissance { get; set; }

    [Column(Name = "dateInscripAdherent")]
    public DateTime dateInscription { get; set; }

    [Column(Name = "photoAdherent")]
    public String lienPhoto { get; set; }

    [Column(Name = "loginAdherent")]
    public String login { get; set; }

    [Column(Name = "motdepasse")]
    public String motdepasse { get; set; }

    [Column(Name = "dateDesinscriptionAdherent")]
    public DateTime dateDesinscription { get; set; }
} 